import request from "../utils/request.js"
import {multipleAudit, multipleDelete} from "../utils/common.js";

export function auditPass(row){
    return request.get("/comment/auditPass",{
        params: {
            ids: row.id
        }
    })
}

export function remove(row){
    return request.get("/comment/delete",{
        params: {
            ids: row.id
        }
    })
}

export function multipleRemove(row){
    return request.get("/comment/delete",{
        params: {
            ids: multipleDelete(row)
        }
    })
}

export function multipleAuditPass(row){
    return request.get("/comment/auditPass",{
        params: {
            ids: multipleAudit(row)
        }
    })
}
